fixed login for main website