User info is saved in sharedpref.