title: PHP Login framework to include google/facebook/openid etc
body: <p>In my website, i've built a login system which is quite simple.. I started implementing the facebook login option and it got a bit messy,</p>
  
  <p>I'm looking for some sort of framework/code sample + db structure sample of a code that bundles the whole thing. Logins/registrations via google/facebook/openid and as many others you know of.</p>
  
  <p>Stackoverflow has a very similar mechanism of what I am looking for.</p>
  
  <p>Anyone knows of such a system?</p>