Waqas/for545 user last thread not remembered

Note: I will add the tests in the subsequent commit
you can just do `"default_sort_key" = self.server.config.get("default_sort_key", "date"),` on L46 above