changed 404, changed pagination to work with custom query for blog