added hibernate db-access