Adding error page and throwing error when lotto date is empty