Modify the login ui again and make some slots work.