Thank you, Ray.
I did what you indicated but ran into another issue.
When I have the code, as is in the attachment, the validation works but the insert doesn't work when I put in a unique username. The page just refreshes.
Now, when I put the insert block of code above the Validation code which starts at Line 50, the insert works and my page breaks with a message that says, SQL error.