Added webusers and custom permissions functionality