Revert "login fix"

This reverts commit c42bd0d0d62d5e4ed1864a712160fc3ea99e8a9a.