Login and Add Event Functional