adding refresh button and better createBBBapi