Move event binding process to auth.

Signed-off-by: crynobone <crynobone@gmail.com>