Look up user credentials in the database
