- Added an event API that can be used to track events(only login/logout yet). Scala only for now.