Added main login page that detects whether a user is a student or instructor