Refactored groups.php to be more like users.php to load in a list, would like to add owner of group to the list based on the user_id we grab from the db {group_owner_id} in groups table.

Also show all groups if the user logged in is the root user. just messing around on all of it for now not really all the good with js so getting by on the skin of my teeth here