updated index page and samples to run as UI samples for Auth and Capture APIs