close memebrship when creating a new one from the web interface