Fixed login error-handler and added more cnfg

Signed-off-by: James Boggs <jmsboggs@gmail.com>