added hibernate
added logger
fix