Adding login triggers