fixed the first login