now user dao works with hibernate