Setup auth and product switching

Closes #1