Only show activities tab for logged-in users.

Fixes #270.
Merge pull request #271 from egor83/270_activities_2

Only show activities tab for logged-in users.
Merge remote-tracking branch 'upstream/master'