changes to the controller method of users and show method