User validation bug fixed