Update Login.php

This is a improvement for a pdo connection