Bugfix permssion field
extended logging of wrong method calls
migration
log the migration templates