Split up several POSTs into several functions