added hibernate session and transaction logic to DAOs