Just add the following:
<map:match pattern="login"> <map:read src="login.html" mime-type="text/html"/> </map:match> <map:match pattern="loginfailed"> <map:read src="loginfailed.html" mime-type="text/html"/> </map:match> <map:match pattern="logout"> <map:act type="session-invalidate"/> <map:act type="request"> <map:parameter name="parameters" value="true"/> <map:redirect-to uri="login"/> </map:act> </map:match>