Added restful rendering and pagination