Auth library works as do the roles and permissions.
Making the permissions checking for efficient.
Database dump, missing a lot still.
Removing testing code.