implemented first round of login and event creation.