created template and initial register page