protected void Page_Load(object sender, EventArgs e) { Admin.Visible = HttpContext.Current.User.IsInRole("admin"); if (GamePropertyService.IsGameStopped()) { lblRemaining.Text = string.Empty; } else { lblRemaining.Text = GetRemainingTimeLabel(); } stopGameLabel.Text = ShowGameStatus(); if (!Page.IsPostBack) { LoginView1.DataBind(); } SetControlsVisibility(); }