Properly hide collection buttons without a logged-in user