Changed SITE_URL to SITE_ROOT in controllers.