Fixing bug with getting users

Fixing bug with getting users