Fixed some bugs with Login and Register GUI.