Moving authenticate class up to main launch