added visiblity field to groups
code cleanup, fixed some currentUser handlebar flow stuff