Revert "Revert "update login action""

This reverts commit 90662aed7316498f70019b776b29ff76ca34fe59.