refactored controller, working on spotify calls