adding signout functionality
persisting login between page refreshes