added login and stats file