starting to work on the database schema for permissions.  this includes
the backup of the schema and the pre filled db contents as well as
some cleanup with the logging in mysql,postgres,basicrouter.