add created entities only to managed entity list if they are being persisted
add repository to account