login event dispatch, not working
login dispatch