protected void ButtonRegister_Click(object sender, EventArgs e)
 {
     if (string.IsNullOrEmpty(this.TextBoxRegisterUserName.Text) ||
         string.IsNullOrEmpty(this.TextBoxRegisterPassword.Text))
     {
         MessageBox.Show("Please provide username and password");
     }
     else
     {
         var client     = new AuthServiceClient();
         var adminModel = new AdminModel
         {
             AdminUserName = TextBoxRegisterUserName.Text,
             AdminPassword = TextBoxRegisterPassword.Text
         };
         bool result = Convert.ToBoolean(client.RegisterAdmin(adminModel));
         if (result)
         {
             LabelMSG.Text = "You have been registered";
         }
         else
         {
             LabelMSG.Text = "Admin already exists";
         }
     }
 }