use environment variable for database url