Logout functionality in Settings added