[Benwei]: ui part of login page and add unregister function
[Benwei]: display the username on home page
[Benwei]: modify test to fix build