added validation check and recipe html