. fixed a bug where every WordPress user was getting redirected to the affiliate homepage upon successful login