Slim and PDO Rest API