Revert "Revert "test user login""

This reverts commit 6ab060e7ed6c508a84945c6342b16ebf6d1133d1.