Added ALLOWED_HOSTS and LOGGING settings