topics: fix err -> res in parse
opts: rename id of nologin div to match the error
not-logged-in to a class
opts: show not-logged-in error

- handle loading indicator with XHR promise