Return important pagination data

* assigns instance variables that return current page, total item and items per page