private OwnIdentity getLoggedInOwnIdentity(ToadletContext context) throws RedirectException {
try {
Session session = mSessionManager.useSession(context);
if(session == null)
throw new RedirectException(logIn);
return mFreetalk.getIdentityManager().getOwnIdentity(session.getUserID());
} catch(NoSuchIdentityException e) {
Logger.warning(this, "Session is invalid, the own identity was deleted already.", e);
mSessionManager.deleteSession(context);
throw new RedirectException(logIn);
}
}