added home page and generate view