public WOActionResults logoutAction() {
WORedirect redirect = (WORedirect) pageWithName("WORedirect");
redirect.setUrl(context().directActionURLForActionNamed("entrance", null));
WOResponse response = redirect.generateResponse();
WOCookie loginCookie = new WOCookie("BTL", "-");
loginCookie.setExpires(NSTimestamp.DistantFuture);
loginCookie.setPath("/");
response.addCookie(loginCookie);
if (existingSession() != null) {
existingSession().terminate();
}