Updated .gitignore
Added paging function mongodb