esam register add status code check