Implemented Index Action of Posts and simple Pagination