Cleanup permission and user merge, submodule requests
Unit tests added, /wipe endpoint added for testing