Updated register.html and removed unused codes