Added user validation api