Update Login.php - Code cleaned & refactored with PSR-0/1/2 code conventions

before starting PDO migration, I have cleaned codes and refactored the class with an eye on PSR-0/1/2 code conventions

Lot of modifications but on code presentation...