Implimented the privelages command