add a return value when creating user