fix password reset and show errors
enable logging to syslog