fixed routes and post form.
updated todo