fixed login. broken reset