Becoming a Member redirect (basic)

This is a basic page with some javascript, where we check the user's custom fields and redirect them accordingly.

If user is not sorta logged in (i.e. they have not entered their email address elsewhere on the site) - redirect them back to "become_a_member".

If the user is sorta logged in (i.e. they have entered their email address elsewhere on the site and the site recognises the user) and custom fields are empty, reload the window (refreshing and allowing for the NB update delay).

If the user is sorta logged in and custom fields have values, check and re-route the user to the correct page, based on the values.