updated users controller findAll method to use stdlib functionality