implemented PUT and POST requests

now you can add and delete todos from server