check login for topic