Merge pull request #2 from markotom/master

Added currentPage, nextUrl, prevUrl to middleware