refactored membership form