variable name changes
Added logging for POST /check