fix verify_secret bug, fix sql queries, fix/improve printdebug/error
improve debug tools
cleanup debugmessages
fix adding a service, client:let printerror handle errors,small protocol change for adding/updating a service