added wpf login control