#48: fixed the survey macro to allow proper handling of anonymous users