Removed some dead code.
Better checks if current session is _still_ a valid user. Fixes #111.