use app.get() method to catch appName