Rest API users controller