Push: Fixed cleanSession flag bug and cleared unused logs