add localhost to configuration