Create UI for Login, Register and Logout with some bugs.