simple validation added to all ws