cleanup app.js
consistent syntax
revert to basic joinGroup without full permissions handling