update readme for browser based auth

Add some osX example of code.