add .partial function for app.get