changes in the controller for the post request to add the clinet