Added sign out functionality.