The code required for the user controller and service.