opening popup to login and get couchURL