login redirect issue