public function post_groups()
{
// Process the forms on this page, if they were submitted.
$this->theme->groups = UserGroups::get_all();
// Process the forms on this page, if they were submitted.
$redirect_to = URL::get('admin', array('page' => 'groups'));
FormUI::build('add_group', 'add_group')->post_redirect($redirect_to);
}