added attribute_accessible and validations