initial redirect to afterlogin which takes care of rest