Fixed child relation duplication bug
Fixed auth redirect loop bug