Function to Enroll students and unregister students added