added aditional POST to middleware