added a json route for retrieveing groups for the group admin view
removed a console.log