Revert "Revert "require login""

This reverts commit 4bd3ad3f0e18a82cd7fe9dd49ed0d73f6305796a.