first version of demo aouth2 based on sparklr example