Fix bug in forum when no session is active