deleted commented out code for post-submit route