corrected jouler service
added permission check