Sign out functionality implemented.