added user creation validation