added createGroup function in admin

added function to create Groups