app now successfully connects to nodejs server