User validation added