some changes to LoginFrame