Added a login dialog for students and instructors.