passing params from register form to register post handler in the back