Added login verification.