changing login event trigger to once