Added generic GetUser function