parametrizing user and group