Added abstract class User for Teacher and Student.