add login function
fix login window
fix login window
clean js files