fix login verification