updated permission system for commands