added boolean for secure login enabled.