Refresh the user object after login