add widget system
REDIRECT_URL detection