user can successfully register