Functional style for getting users