Added new user api endpoint.