Updated app.listen() placement