Added localhost to allowed hosts