fixing user and dog adding
editing index