added relationships to models
nested resources in routes file