Fixed logout bug, change login gui.