adding contact validation