Adding login, logout and clear cookie capabilities to example_file.sah