Use 'self', since we have it declared
no need for `loginHandlers` to be global
remove trailing comma