(feat) updated userController to handle put requests