added console log to debug on server