call Register API