Update to use new endpoints; Added event to detect invalid logins (experimental).
Updated vote endpoint.