Added logic for handling member workflow in main UI.