Thanks for the feedback. The redirection seems to work. But even if one has previously login, one is still being redirected to the New Password page. My goal is that for any first time login, the user is redirected to the New Password page. And the next time the same user is logs in, the user is directed to the userProfile page. I have followed exactly what you instructed me to do, but each time I login, it still takes me to New Password page eventhough it is the second or third time that I logged in.
Any help will be appreciated.
Thanks for your time.