Validation added to setting page