Reformatted index page for hogan and added message flashing