Second half of submitting for section 4: server side.