added a log for debugging on server