Added Dao and checked if this works in rest