refactored user, role, role_permissions and dictionary_entry