login and fetch event data