Defined new and create action in users api