create if/else to display comment buttons based on login status