added individual views for posts
cleans up pages