added function for user group checking
Merge branch 'master' of github.com:energine-cmf/energine