How to train your dog for security