Updated get method in AbstractDAO