index needs to handle GET and POST
cluster write. closes #1