Updated #5 to take any userid