add attr_accessible to model

I took the decision to add attr_accessible.
I think it's better to be able to use update_attributes as well.