Fix check for correct variables before creating user.