Revert "Set back to login code"

This reverts commit c5f5d8cd6240db7ca4d887af57b85441547bb80f.