updated user create method.