Fixed Authentication. Added a TODO: Make all Logout Admin function.