Fixed null object when user not logged in for posts
Implemented paging for all views