added user info on the user api endpoint