internationalization, added a new functionality for login with jquery