Debugged Client registration and moved it from form to jsp.