Added code for login (db connection, PDO exceptions, utf-8 encoding etc)