added functions and bindings for adding todo to page