init setup for web app