Corrected login/reg redirect loops
Corrected login/reg redirect loops