center mainFrame, LoginPanel changes