Try fixing PDO functions in login.