fix membership application creation crash and user association