Implement login and account UI.