Sort related by timestamp.
Bugfix.
Correct handling of sign-in button in main page.