Add the beginnings of the code for handling POSTs to /manage.