adding pagination for projects