added more robust handling to user info parsing