Create ValidateUserProc.sql

Currently using 'tk' as the database name so you may need to tweak it. It also probably needs to be modified to handle md5 encrypted passwords.