Exercise: Synchronous authentication