Fixed paging in controllers, added tables.