adding allowed hosts field to settings