fix #33 (updating events not working well)
fix #32 (last event on day removed)
fix #22 (redesign the calendar)
keep login support
fix some other issues