$users = User::select('name')->distinct()->get();
$categories = Machine::distinct('category')->pluck('category');
$users = DB::table('users') ->select('id','name', 'email') ->groupBy('name') ->get();