Updated to be working as intended with failsafe and username/ip combo