added error log for adding comment not logged in