Python/CGI scripting for Log In

assumes that the database has a userPassword column in the user table
(varchar(15))