Sign out functionality working