we change login event for cb function