Fixed small bug with edit and destroy showing when logged out