checked for nil current_user in post sidebar