fixed url errors
added allowed hosts to settings