finish the login function
rename some file and clean the folder