new repository base with hibernate security