Revert "Revert "Revert "Login and register"""

This reverts commit 245d2f0630d027a3f3780831a5dba24145860859.