Login (phase 2): password encryption

-encrypt password and get value
-optimize the PDO classes to use object rather than array