update MVC for CRUD operations for user and pets