private void logout() { if (LogicServices.Logout()) { clearFormCommands(); MessageBox.Show("You are Logged out"); } else { MessageBox.Show("Error logging out"); } }