added attr_accessible to model