Added synchronous user authentication listeners. Fixes #87