Added cleared shared preferences to logout