Finishing sessions controller and stubbing API heartrates controller