Added logic to not show comments or votes for when users are not logged in.