Change conditional for create user groups