Prepared statements profile test
Fix profile password saving
Move rest of queries to PDO