Login is only done when required and if session is closed by server,
this is handled too
Update of login procedure and beautifulsoup now chooses which parser to
use