added logic to create a new cat in routes/cats.js