simple single page application that uses doctape oauth implementation