fixed login error not showing again