add repository for post model
edit web posts#index to show only published posts
Merge branch 'feature/repositories' into develop