added login suppor to the web api integration component;