parameterize web app on database connection