fix for the code cleanup
translation for GroupController
when user removes the group, check if he is the last one
Move functioanlity from index.js to groups.js