Fixing bug in users view