[Graeme] Improved ability to log off from logged in web page, and error checking to verify whether an attempted login has been successful