REST: implement create restfull method