added basic logging and allowed_host