Fixed Bug Logout

and Blah Blah Blah