Fixed the language issue and added new method for the index page