minor changes in getUser