almost finished event creation, only missing small error and success handling