add login files and some modify