close db connection in register new user servlet

change idnames in index.jsp and register.html

rename Measure and Register js files to measre and register

Change-Id: Ic20f41e517d4e6ba1cd9448843649a82311a7e71