1. from
http://raza.narfum.org/post/1/user-authentication-with-a-secure-cookie-protocol-in-php/
http://raza.narfum.org/post/1/user-authentication-with-a-secure-cookie-protocol-in-php/