Modified ajax.php , removed some unnecesary functions , parametrized other. Implemented edit_groups jQuery AJAX functionality @ form.