{if jrUser_is_logged_in()}
// Put here the code to be run if the user is logged in
{/if}
{if !jrUser_is_logged_in()}
// Put here the code to be run if the user is NOT logged in
{/if}
{if jrUser_is_logged_in()}
// Put here the code to be run if the user is logged in
{else}
// Put here the code to be run if the user is NOT logged in
{/if}