DB USER CREATION AND PERMISSIONS BUGFIX