Added validation that will stop a student from attending the same class multiple times