set up basic homepage and log view page