Rollback some changes for use login view in the widget