fix a minor bug: during user registration, :name was not retrieved from post data