security and hibernate configuration