Glogin is a PHP login class easy to use. Just 3 lines of code to work.