Handeled author specific viewable posts

* Added function in posts model to get viewable posts of an author, from a specific viewer
* Updated author profile template and corresponding view