fixes the random login on dev