class and login belongs the student model now