improved permission system
added new permission handling to first sites