write methods to insert dogs into the dogs table and find a dog