Added ability for a user to protect/unprotect a pile