Add login event. Fixes #15