Fixed login gui issues.