added magic-users and magic-db