Added SQLite code for login verification.