add ransack and pagination to lectures