Update Login.php - PDO support

Replace mysqli functions by PHP PDO functions in all database calls.