@foreach($course->Comments()->whereNotNull('approved_at')->when(auth()->check(),function($q){$q->orWhere('user_id',auth()->id());})->get() as $comment)