changes in register user design and creation util class for encoding form's data