added php scripts to connect to db