added api to connect to pub_med