bare bone code for the web app