login check for comments