adds a get user info endpoint