do not publish the write token on read access (but do so on write access)

if/else came to the rescue.
refactor calendar controller before action
refactor choosing whether to read or write a calendar