first rest api for users