show user name after finishing filling in the form. BUG: cannot pass userData from child scope to parent scope