add reqeust to validate in purchase controller