added protected attributes gem. Need to fix this asap