Added pagination for records and squeryl