sample application with oauth login