exit properly if auth fails on startup
split system time help to separate file
log system time help if connect fails
better error message