SELECT id, encrypted_password FROM users WHERE email=$1