Working home page with url creation and error checking