Updated groups index function for refactored code.
Removed Form library loading declaration from users index function (not needed).
Started refactoring the groups add/edit function.
Moved delete function closer to other user management functions.