sorted out rest of adding event

mostly backend stuff