Implemented Post list using generic view inorder to make cleaner code