Adding router code to app.js allows for direct browsing of pet links without login