Fixed using correct static login variables.