implemented logout handler in CoursesAndProblemsPage3