Added database connectivity 

Every php script i start with database connection (WILL ADD A INCLUDE FILE WHEN THE TESTING IS OVER)