equals & hashcode & getEnrollmentsByUser added