fixed an error and the login windows are centered