generalize isAdmin into group model
remove console.log