Revert "changed login stuff"

This reverts commit ba495ec133a65d0ab9f06e370a3ae1056416b95a.
what