Added endpoint for actually tracking events, also some fixes to returns