Added method in api to get user info.