More PDO updates

updated prepared statements for security. Fixed registration form.