get doctor data from database