Realligned the purge code structure
Added human error response codes for logging