fix first login redirect