Added new methods to retireve users based on permissions.