updated loginFile