Updated event exchanging process for login and settings actions.