Added comments and redirection
Added main page for lecturers
Added main page for students
Enhanced with login check and redirections