add API to get user info