protected void Page_Load(object sender, EventArgs e) { if (SessionAdapter.GetAdminId() != null && SessionAdapter.GetInstructorId() != null) { hypOffering.Visible = hypStudent.Visible = hypInstructor.Visible = hypCourse.Visible = hypSemester.Visible = hypAttendance.Visible = hypGrade.Visible = true; hypLogInLogOut.Text = "Log Out"; } else if (SessionAdapter.GetAdminId() != null) { hypOffering.Visible = hypStudent.Visible = hypInstructor.Visible = hypCourse.Visible = hypSemester.Visible = true; hypLogInLogOut.Text = "Log Out"; } else if (SessionAdapter.GetInstructorId() != null) { hypAttendance.Visible = hypGrade.Visible = true; hypLogInLogOut.Text = "Log Out"; } else { hypLogInLogOut.Text = "Log In"; } }