abstract the user info

save the user info to local