Fixed redirect loop bug for Peer Network trainings #218