Add pagination to admin dreams view and refactor application controller.