fixing the autocomplete login issue