Login FrmMain RIgth detection