fixed login for firefox