user.userName validation fixed