widgetizing login