title: zend user auth by submitting user credentials from remote android device
body: <p>We have developed a web site, online magazine store for android device, there is also an android app that loads the website as web view. Every device has a username, password and a device ID which is sent as post during the loading of web view. </p>
  
  <p>My requirement is :</p>
  
  <ul>
  <li>The site should load only if the login credential supplied (post) from the android device is valid.</li>
  </ul>
  
  <p>Where should I check the validity of the the credential?
  I mean should I write a plugin or whether the checking has to done in bootstrap. I dont need any group based access control all users have the same privilege.</p>
  
  <p>Please show some example with necessary code.</p>