fixed login verification