Account Login/Logout

- Fixed logging in
- Fixed logging out