Adds auth to the main.