added enable/disable student function