add cart module and validate