added post model
added functionality for posts and dicussions