tmp
added groups functionaluty
added user permsissions