I have the user module, as for the template
<!-- MEMBER check -->
{if segment_3}
{exp:members}
{single_member id="{segment_3}"}
{if m_group_id != "{embed:group_name_type}" {embed:group_admin}}
{redirect="{site_url}"}
{if:else}
<div>{m_group_id}</div>
{/if}
{/single_member}
{/exp:members}
{if:else}
{redirect="{site_url}"}
{/if}
<!-- MEMBER check END -->
This to make sure that if the url is changed with the incorrect member id, it won’t populate the template with the wrong data. I just need to put in a check if the user exists or not, because they could place a false number in there and just populate the template with no data.