Dynamic homepage paths & login redirect