The Login Script is taken from the book by
Luke Welling and Laura Thomson
"PHP and MySQL Web Development"
SAMS Publishing (2001)
ISBN 0-672-31784-2
Building Practical PHP and MySQL Projects
Chapter 24 "Building User Authentication and Personalization", Pages 497-537