Changed ORM to Hibernate. Added isPrincipal on Employee model