improve module config, save modul informations to db
rework user rights
fix hasAccess phpunit test