replace static connect server with real express server to support post form data