final code for database connection
constants for connection.php