Revert "Revert "log-in""

This reverts commit 6df3f72b7fcce014db2bc8023a39fc448ea0fab3.