activated rest api for pets
renamed pets to pet on backend