Removed usage of deprecated getOneUser()