updated new_member to cooperate with mysql