Fixed user validation bug