added author model and relationships