added author to posts
added flat pages and template