User may require to create a custom "logout" link on the custom page, here is the piece of jsp code used for "logout":
Sample Code/Error
<web:ifConnectionValue><web:then>
<web:ifFeature name="is-portlet"><web:then></web:then><web:else>
<span class="mstrShortcut"><web:urlEvent eventID="com.Strategy.web.app.beans.EnumServletEvents.WebEventLogout"><web:descriptor
key="mstrWeb.8" desc="Logout" /></web:urlEvent></span>
</web:else></web:ifFeature>
</web:then></web:ifConnectionValue>
Add the code above to custom .jsp file and the user will see a "Logout" shortcut on the page.