Adding Logout Events for settings logout button.