Fixed indentation through all the script. Fixed  login check function (no need to use BeautifulSoup for finding just one block)
Raspberry Pi users would be happy with this change