user id validation bug fix