post request working for new todo item