added missing 'connect' method call to get geofencing working
added current date logic to get events