Updated Event model, Event and Login Controller