Session deserialize bugfix
Logout link bugfix