add a log so we know what policies are being applied
fix JPA annotations to do what I meant
reformat source