When finished entering the userName and close the form.