Inlucded usergroup to template
Made all access functions public