Permissions

Added automatic adding to permission groups. 
Ah, that's a problem. Very well noticed. I'll fix this.