Allow only admin and author to edit/delete posts

i will be taking some of this out soon after I make an admin dashboard so its not at the top of every page