Add better validation for user lookup parameters