user sees flash message when adding todo item
added ajax to create todo items and also to add them dynamically to todo list