added dog.js for adding dogs