added more user permitting functionality