Fixed error in user validation with checking get keys exist