daemon sends success back to client or error if command not found; added
logfile