fixed author login redirect