started working on database and PDO