Add a factory for create user