makes some fields visible and other hidden depending on the result of some API calls, e.g. visitor is logged in -> show "Log out" button