using the same database for both: idenity and entities