store login info/error in log files