Rest api for registering, authenticating, and commenting on topics