correcting return values from getUser