Check if todolist exists before deciding on PUT/POST