Revert "minor changes on login"

This reverts commit c455901492622cbeae2fb564bb47396753aef27f.
dfghjkl