handleLoginActions trigger