corrected login verification