edit some files on controller base, index contoller, product and user model