now pathcontroller check current user before deletin or editing path