start the database query. Set up the username param