Implementes batch update API calls. Adds logout API call