Added get post by id ability.
added post and posts views