added auth::check to check logged in user before displaying edit and deleted buttons