addd validation to listings model