Implement sign out functionality.