Added event redirect, fixed eventsave to database