select u.password as user_password, u.salt as user_salt, p.first_names as user_first_names, p.last_name as user_last_name, y.email as user_email from users u, persons p, parties y where u.user_id = :user_id and p.person_id = u.user_id and y.party_id = u.user_id select u.password as user_password, u.salt as user_salt from users u where u.user_id = :user_id