Fix bug and add logger to hibernate utils. Update method name and error message in base class image persistence.
Fix some issues on web layer.