login, logout, registration, and api calls for events and event details -- big commit!