added language buttons in footer using sessions and appending current action to link