make user object and register