Added login verification