fix fk user with abstract
add template for entity with conf
Part