handle user authentication from multiple contexts; support for different langs