added function getUsers

Just added function getUsers