title: How can I get the cached credentials in application startup on XDK platform?
body: <p>I have stored the login detials into a cache file by using these lines in the login process.</p>
  
  <pre><code>intel.xdk.cache.setCookie("userid",username,50);
  intel.xdk.cache.setCookie("password",password,50);
  </code></pre>
  
  <p>I want the app to remember credentials so I thought somehow I have to get them while in init-app.js file  and forward to content page .</p>
  
  <p>Which method should I use to forward to specific page in js by passing the index.html page?
  And is this the appropriate way to do cache authentication?</p>