Creating sessions and basic remote api calling working.