write user controller and user service