Revert "To complete login/register demo"

This reverts commit bedc18ec2491f927be9f6aa62c25c96dbcb0af15.