registerUser(); break; case "login": $CM->loginUser(); break; case "logout": $CM->logoutUser($user->UserID); break; case "postAComment": $CM->postAComment($_GET['artID']); break; case "episodeComment": $CM->episodeComment($_GET['epID']); break; default: header('Location: http://localhost:8888/'); break; } } else { header('Location: http://localhost:8888/'); exit; } ?>