created author model and associated it with post model