moved translation and authentication to main controller