added home page and removed extra submit button on error page