Ensure logged in for Topic#show if login required
Show login modal in topic list if login required
Show login modal on search if login required
Move XHR comment to correct location