Revert "add login functionality"

This reverts commit 5fbb36c98ab9fa7454fa0d20c6b94a0834434a57.
Revert "Revert "add login functionality""

This reverts commit b6cc36cf737bd9548559cdf7fd1fd90f7850bc89.