Updated getuser to take uid