Accommodated for change in page after login is successful.