Added PDO statements; Timestamp conversion not working yet