added login triggers