cant edit/delete without being logged in, edit button visible only to logged in users