changed tag_view route and added conditional for posts deletion