added additional returns to register json