added functions to add pets and users