Add bridge to check auth, and connection function.