user login redirect fix