Adding allowed hosts properly