remember user login status and user can log out