add REST APPI with Slim