<!-- defining how to look up passwords in your database for automatic authentication -->
<password-query>
SELECT password FROM LOGIN WHERE username=?
</password-query>