Fixed Logout

Log out now works.