user entity changed when removing default submit function