Added Pagination and fixed the restful hack I was trying to do.