Added the sign out functionality.