Corrected the loginbox changes