implemented findOrCreateEntity in Store