move dictionary to the module where it belongs
log the username for failed auth attempts