add latest to search result; destroy redis-session in logout