switching to correct username formatting
fixing permission check implementation
switch to from role name to role ids for access check, reinitialize permissions on load / save