Remove main method from LoginUI form.