login error with better popup