Updated nodeapp p with proper code to connect to a MongoDB