rewrite the groups view to deal with group creation