cleans up group controller through removing unused functions