//If it is an admin user, update the role in the user information user_info in the current session for page call
if (Session::get('user_info.name') == 'admin') {
Session::set('user_info.role', $data['role']);
}
Just print $data to see if there is any
Just print $data to see if there is any