Updated Register classes. Functionailty is there but app doesn't
communicate with servlets.