clicking SYNC opens popup to login and get couchURL