function to dry up getting basic user info (may not be useful as I thought)