At the moment the only way to log out of a secure zone is by using the pre-built logout button; we would like to implement this as part of the navigation but it's not possible without doing a bit of a hacky workaround. BC had a set link to achieve this.