title: Clear App data and cache using phone Gap
body: <p>How can I clear app data programmatically inside PhoneGap application.
  Scenario, After user authenticated, if he was not authorized, I need to clear his credentials from app cache.</p>
  
  <p>Any inputs?</p>