added attr_accessible s and validators to models