Added writeContentToFile() and changed domain() to login()