-refactored get data and store call in controller to be async
-increased test coverage