adding code for individual dog page