getting user info automatically