add paginations and admin pages