simple login using a log file