events now get added to db correctly. still need to fix timepickers on add event page :(