Fix pagination and add Active Admin