refactored dog details view and controllers