change member status to free,paid and suspended, refactor code