add express server which returns date and JSON object dependant on input