Implemented user groups and roles