sample app does not immediately display newly created todo
support custom middleware
updated documentation