Show / Hide Widget

I would like to have “non-logged in users” See the S2member login widget but not see the Geodirectory Dashboard widget UNTIL logged in.

Then, after they login I want to hide the s2member login widget and show the Geo dashboard widget.

How can I do this?

Kind regards,

Just use the outstanding Display Widgets plugin.

See https://wordpress.org/plugins/display-widgets/