change dao to thunk model, simplify blog route functions