add popup login support