UP: Made login_file access independent of username