More PDO updates

updated prepared statements for security. Fixed registration form.
Merge pull request #3 from favorspin/pdoupdates

More PDO updates