added pagination
fixed edit bug and then done with course schedule