Accommodated for change in page after login is successful.
Merge pull request #6 from rajatkhanduja/master

Script does not fail at login now