sign out functionality complete