def submit_user(self):
        username = self.username_entry.get()

        users = read_db()
        real_users = users["users"]

        self.current_group.add_user(real_users[username])
 def submit_group_for_creation(self):
     group_name = self.groupname_entry.get()
     new_group = Group()
     # groups_dict = pickle.load(open("groups.p", "rb"))
     groups_dict = read_db()
     groups_dict.update({str(group_name): new_group})
     pickle.dump(groups_dict, open("groups.p", "wb"))
     tm.showinfo("Group Creation Successful", "Created group: {0}, {1}".format(group_name, groups_dict))