Implement the language functionality from the login