Fixed the login php code according to the new PDO method