added require to post route also. Did not break code.