user button validation working