restore username to local file and read when app init